Skip to content

chore: Add dedicated CI workflow for 3rd-party integrations#6945

Merged
itaybre merged 85 commits intomainfrom
itay/add_ci_tests
Feb 12, 2026
Merged

chore: Add dedicated CI workflow for 3rd-party integrations#6945
itaybre merged 85 commits intomainfrom
itay/add_ci_tests

Conversation

@itaybre
Copy link
Contributor

@itaybre itaybre commented Dec 1, 2025

#skip-changelog

Add dedicated CI workflow for 3rd-party integrations

Moves 3rd-party integration tests (SentrySwiftLog, SentrySwiftyBeaver, SentryCocoaLumberjack, SentryPulse) from test.yml into a dedicated test-3rd-party-integrations.yml workflow with its own file-filter trigger.

  • Pre-builds XCFrameworks from source once and shares them across all integration test jobs (instead of using swift package edit or the latest release)
  • Each integration is tested via swift test on macOS.

Closes #6973

@itaybre itaybre added the ready-to-merge Use this label to trigger all PR workflows label Dec 1, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1219.28 ms 1253.78 ms 34.50 ms
Size 24.14 KiB 1.11 MiB 1.09 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
a1a9260 1192.15 ms 1229.80 ms 37.64 ms
0d145c3 1224.04 ms 1255.34 ms 31.30 ms
edcda5a 1217.52 ms 1248.72 ms 31.20 ms
09a80f2 1214.78 ms 1237.85 ms 23.07 ms
4b41eee 1209.96 ms 1243.12 ms 33.16 ms
29b6704 1216.31 ms 1251.91 ms 35.60 ms
79cee27 1214.65 ms 1238.66 ms 24.01 ms
83bf9af 1213.30 ms 1234.18 ms 20.89 ms
2400b80 1230.26 ms 1261.19 ms 30.93 ms
b5c1b24 1217.94 ms 1248.76 ms 30.82 ms

App size

Revision Plain With Sentry Diff
a1a9260 24.14 KiB 1.08 MiB 1.06 MiB
0d145c3 24.14 KiB 1.07 MiB 1.05 MiB
edcda5a 24.14 KiB 1.08 MiB 1.06 MiB
09a80f2 24.14 KiB 1.10 MiB 1.08 MiB
4b41eee 24.14 KiB 1.09 MiB 1.07 MiB
29b6704 24.14 KiB 1.06 MiB 1.04 MiB
79cee27 24.14 KiB 1.10 MiB 1.08 MiB
83bf9af 24.14 KiB 1.04 MiB 1.02 MiB
2400b80 24.14 KiB 1.10 MiB 1.07 MiB
b5c1b24 24.14 KiB 1.06 MiB 1.04 MiB

Previous results on branch: itay/add_ci_tests

Startup times

Revision Plain With Sentry Diff
9b06a22 1217.45 ms 1251.72 ms 34.27 ms
47d1029 1207.77 ms 1238.34 ms 30.57 ms
1ca6a17 1215.29 ms 1240.23 ms 24.94 ms
474ced6 1218.85 ms 1260.94 ms 42.09 ms
c99cc12 1225.96 ms 1259.34 ms 33.38 ms
458120a 1227.60 ms 1264.52 ms 36.92 ms
c9d2398 1229.38 ms 1251.02 ms 21.65 ms
cfb43c4 1209.69 ms 1247.80 ms 38.11 ms
6c794f4 1219.40 ms 1251.57 ms 32.17 ms
5d3049e 1219.84 ms 1250.98 ms 31.14 ms

App size

Revision Plain With Sentry Diff
9b06a22 24.14 KiB 1.10 MiB 1.08 MiB
47d1029 24.14 KiB 1.11 MiB 1.09 MiB
1ca6a17 24.14 KiB 1.08 MiB 1.06 MiB
474ced6 24.14 KiB 1.11 MiB 1.09 MiB
c99cc12 24.14 KiB 1.02 MiB 1016.90 KiB
458120a 24.14 KiB 1.02 MiB 1016.89 KiB
c9d2398 24.14 KiB 1.07 MiB 1.04 MiB
cfb43c4 24.14 KiB 1.02 MiB 1016.90 KiB
6c794f4 24.14 KiB 1.08 MiB 1.06 MiB
5d3049e 24.14 KiB 1.08 MiB 1.06 MiB

@itaybre itaybre marked this pull request as ready for review December 3, 2025 13:44
Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I added a few comments.

@codecov
Copy link

codecov bot commented Dec 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.321%. Comparing base (d492bc8) to head (6a0bffe).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##              main     #6945       +/-   ##
=============================================
- Coverage   85.335%   85.321%   -0.015%     
=============================================
  Files          480       480               
  Lines        28621     28620        -1     
  Branches     12400     12387       -13     
=============================================
- Hits         24424     24419        -5     
- Misses        4150      4153        +3     
- Partials        47        48        +1     

see 5 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d492bc8...6a0bffe. Read the comment docs.

@denrase
Copy link
Collaborator

denrase commented Feb 9, 2026

@itaybre Added your feedback.

We do both swift test on macOS and xcodebuild style testing to test on iOS 18.5 simulator. Both test against sentry-cocoa build form source. We could still think about removing the latter, i'm not sure on this. It would be much simpler then.

@philipphofmann @philprime Would be great if one of you could also take a look, as we need a approving review. 🙇

@denrase
Copy link
Collaborator

denrase commented Feb 9, 2026

Updated to only do swift tests on macOS, as there is no iOS specific code to test. /cc @itaybre

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@denrase
Copy link
Collaborator

denrase commented Feb 11, 2026

@itaybre I'll approve this if it's ok with you.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@itaybre
Copy link
Contributor Author

itaybre commented Feb 11, 2026

@itaybre I'll approve this if it's ok with you.

yes please, approve so we can merge it

I kinda forgot I couldn't approve

Copy link
Member

@philprime philprime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@itaybre itaybre enabled auto-merge (squash) February 12, 2026 18:36
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@github-actions
Copy link
Contributor

🚨 Detected changes in high risk code 🚨

High-risk code can easily blow up and is hard to test. We had severe bugs in the past. Be extra careful when changing these files, and have an extra careful look at these:

  • .github/file-filters.yml

@itaybre itaybre merged commit c9976e2 into main Feb 12, 2026
204 checks passed
@itaybre itaybre deleted the itay/add_ci_tests branch February 12, 2026 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Use this label to trigger all PR workflows Waiting for: Review ⏳

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: Add test workflow for swift log

4 participants